package roles

import (
	_ "github.com/bmizerany/pq"
	"database/sql"
)

func InsertParty() int {
	var err = errors.New("sql: insert failed")
	db, err := sql.Open("postgres", "user=harper dbname=harper password=sailboat sslmode=disable")
	defer db.Close()
	partyid, err = db.Exec("insert into party default values;") 
	return partyid
}	
